<template>
	<div>
	 <!-- <span>{{$route.query.id}}</span>
	 <span>{{$route.query.title}}</span> -->
	 <!-- <span>{{$route.params.id}}</span>
	 <span>-{{$route.params.title}}</span>
	 <span>-{{a}}</span>
	 <span>-{{b}}</span> -->
	 <span>{{id}}</span>
	 <span>{{title}}</span>
	</div>
</template>
<script>
	export default {
		name: 'Detail',
		//props: ['a','b'],
		props: ['id','title'],
		mounted() {
			console.log('detail',this)
		}
	}
</script>